package com.yuanfeng.payment.service;

import com.yuanfeng.commoms.util.ResponseResult;
import io.seata.core.exception.TransactionException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @author hyq
 * @date 2023/4/27 17:36
 */
public interface PayEntranceService {

    /**
     * pc 端支付统一入口
     *
     * @param payInfo
     * @param request
     * @param response
     * @return
     */
    ResponseResult payMentUnifyInlet(Map<Object, Object> payInfo, HttpServletRequest request,
                                     HttpServletResponse response) throws TransactionException;
}
